home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / CRYPT20.ZIP / MESSAGE.DAT < prev    next >
Text File  |  1993-11-07  |  4KB  |  71 lines

  1.               Black Wolf's Picture Encoder (for 320x200x256 ONLY!!!!)
  2.  
  3.                               Version 0.90ß
  4.  
  5.                      Released into the Public Domain
  6.  
  7.                      All Code Written By Black Wolf
  8.  
  9. Disclaimer:  This program is hereby released into the public domain.  I
  10. take no responsibilities for any damages it might cause.  Use it at your
  11. own risk.
  12.  
  13. Description:  This picture encoder consists of a group of programs designed
  14. to let you capture a picture, encode a message in it, and display it so that
  15. it may be captured again into another format with a third-party program,
  16. then recapture it and decode the message previously place inside it.  It is 
  17. at a bare-bones stage right now, and includes source code if you would
  18. like to tailor it to your own needs.
  19.  
  20. Uses:  If you have a need to send sensitive data, but don't want it to be
  21. obvious that that is what you are doing, this might be a good program for
  22. you.  The sender can encode anything he/she wants into the picture and then
  23. convert it to .GIF format, .PCX format, or whatever (using a third part
  24. program).  Not many people will look twice if you receive a picture, whereas
  25. an encrypted message might raise an eyebrow or two.  Then, the receiver
  26. is free to decode it at will.  Anything under about 8k can be recorded into
  27. one picture - important letters, lists, small programs (viruses), or just 
  28. about anything else.  If you are sending text, my recommendation is to
  29. encrypt with via PGP or some similar program, then encode it into the 
  30. picture for added security.
  31.  
  32. Tech:  The programs encodes data into the LSB's (least significant bits) of
  33. the picture file - thus, roughly 50% of the colors are changed, but if they 
  34. are it is only by one pallette value (0-255).  If the picture's pallette is 
  35. based on gradients, then this will most likely be undetectable.  Also - 
  36. ENCODE will put an EOF at the end of the message, so that while there will 
  37. be garbage at the end of the decoded message it will not be displayed if the
  38. file is opened with edit or typed, etc....
  39.  
  40. The files are as follows:
  41. GETSCR - Captures a picture into MESSAGE.SCR when you press PRINTSCREEN while
  42.          in graphics mode 13h (320x200x256).
  43.  
  44. PUTSCR - Puts the picture in MESSAGE.SCR onto the screen, generally so that
  45.          it may be re-captured into another program.
  46.  
  47. ENCODE - Encodes the data in the file MESSAGE.DAT into the picture
  48.          in MESSAGE.SCR.
  49.  
  50. DECODE - Decode the message in the picture MESSAGE.SCR and puts it into
  51.          NEWMESS.DAT.
  52.  
  53. Example:  Say you want to send text to someone, but you don't want it to 
  54. "appear" that way to anyone who may intercept the message.  First, what
  55. you'd want to do is find a picture file (like a GIF).  Then, run GETSCR
  56. and pop the picture up into any picture viewer.  While the picture is on
  57. the screen, hit PRINTSCREEN and GETSCR will create a file called
  58. MESSAGE.SCR for you containing that picture.  Then, write your message and
  59. save it as MESSAGE.DAT.  Run ENCODE - this will take your message and encode
  60. it into the picture file.  At this point, you need to find a third-party
  61. screen capture program that wil work with the format that you wish to use.
  62. Run it to make it go memory resident, then run PUTSCR and capture the picture
  63. it puts onto the screen.  Now you can send the picture to your friend.
  64.      
  65.      When he receives it, he can display it, showing that it is, indeed, 
  66. just a picture file.  When he wants to decode it, all he has to do is run 
  67. GETSCR and display the file - hitting PRINTSCREEN while it is displayed.  
  68. Then, he should run DECODE and it will create a file called NEWMESS.DAT that
  69. includes the message you originally put into the file.
  70.  
  71.